import request from '@/utils/request';

export async function searchItemList(params) {
  return request('/api/searchItemList', {
    method: 'GET',
    params,
  });
}

export async function addItem(params) {
  return request('/api/addItem', {
    method: 'POST',
    data: params,
  });
}

export async function getItem(params) {
  return request('/api/getItem', {
    params,
  });
}
